-
Notifications
You must be signed in to change notification settings - Fork 170
Translate all tests from AlonzoBBODY to Imp test
#5392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
5e2f7c4 to
ea37bbe
Compare
0a5a2ae to
fcc4ab0
Compare
fcc4ab0 to
d6ca7fa
Compare
|
This includes the commits from #5404 and will need to be rebased after that's merged |
d6ca7fa to
05b4f57
Compare
Also abstract the interface for obtaining events from ImpTestM actions
05b4f57 to
1e32054
Compare
| fixup <- asks iteFixup | ||
| txs <- traverse fixup [tx] | ||
| finalState <- get | ||
|
|
||
| failures <- fmap fst . expectLeftDeepExpr =<< tryTxsInBlock txs finalState | ||
| failures `shouldBeExpr` [injectFailure $ PoolMedataHashTooBig poolId hashSize] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels clunky, and doesn't seem like a particularly good test of BBODY failures. Perhaps there's another way to have a BBODY failure without including a failing transaction (beyond the total script size limitation that's tested in Conway).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a better BBODY test. We could drop this old one.
22770d9 to
3b450b0
Compare
Description
Translate all tests from
AlonzoBBODYto Imp testCloses #4182
Checklist
CHANGELOG.mdfiles updated for packages with externally visible changes.NOTE: New section is never added with the code changes. (See RELEASING.md).
.cabalandCHANGELOG.mdfiles when necessary, according to theversioning process.
.cabalfiles updated when necessary.NOTE: If bounds change in a cabal file, that package itself must have a version increase. (See RELEASING.md).
scripts/fourmolize.sh).scripts/cabal-format.sh).scripts/gen-cddl.sh)hie.yamlupdated (usescripts/gen-hie.sh).